projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05c484d
)
testlogout: actually quit if told to
author
Dan Winship
<danw@gnome.org>
Wed, 11 Jan 2012 16:52:23 +0000
(11:52 -0500)
committer
Dan Winship
<danw@gnome.org>
Wed, 11 Jan 2012 17:00:06 +0000
(12:00 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=667705
tests/testlogout.c
patch
|
blob
|
history
diff --git
a/tests/testlogout.c
b/tests/testlogout.c
index 3cd9ecb05e80d6a10bc31f645440e0eb87477a44..6c17f1a9361b26934a0a3c6c6cde70ac20deedb7 100644
(file)
--- a/
tests/testlogout.c
+++ b/
tests/testlogout.c
@@
-1,5
+1,6
@@
#include <gtk/gtk.h>
+static GtkWidget *win;
static GtkWidget *inhibit_entry;
static GtkWidget *inhibit_logout;
static GtkWidget *inhibit_switch;
@@
-98,7
+99,6
@@
static void
activate (GtkApplication *app,
gpointer data)
{
- GtkWidget *win;
GtkWidget *box;
GtkWidget *separator;
GtkWidget *grid;
@@
-179,6
+179,7
@@
quit (GtkApplication *app,
gpointer data)
{
g_print ("Received quit\n");
+ gtk_widget_destroy (win);
}
int